package com.springcloud_api.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * ClassName:dept
 * Package:com.springcloud_api.pojo
 * Description
 *
 * @Author:@wenxueshi
 * @Create:2023/2/5 - 13:32
 * @Version:v1.0
 * orm 对应数据库中的一个表
 */
@Data
@NoArgsConstructor
@Accessors(chain = true) //开启链式写法
public class Dept implements Serializable {
    private Integer id;
    private String name;
    private String source;

    public Dept(String name) {
        this.name = name;
    }
}
